.md-list {
  @include md-theme-component() {
    .md-autocomplete-items {
      .md-highlight-text-match {
        @include md-theme-property(color, primary, background);
      }
    }

    .md-autocomplete-loading {
      @include md-theme-property(background-color, background, "", .54);
    }
  }
}

.md-autocomplete {
  @include md-theme-component() {
    &.md-autocomplete-box {
      @include md-theme-property(background-color, background);

      &.md-focused {
        label {
          @include md-theme-property(color, text-hint, background);
        }
      }

      .md-toolbar & {
        @include md-theme-property(background-color, background, "", .12);

        label,
        input {
          @include md-theme-property(color, text-primary, primary);
          @include md-theme-property(-webkit-text-fill-color, text-primary, primary);
        }

        svg {
          @include md-theme-property(fill, text-primary, primary);
        }

        &.md-focused {
          @include md-theme-property(background-color, background);

          label,
          input {
            @include md-theme-property(color, text-hint, background);
            @include md-theme-property(-webkit-text-fill-color, text-hint, background);
          }

          svg {
            @include md-theme-property(fill, text-hint, background);
          }
        }
      }
    }
  }
}

.md-autocomplete-box-content {
  @include md-theme-component() {
    &:after {
      @include md-theme-property(background-color, background);
      @include md-theme-property(border-bottom-color, divider);
    }
  }
}
